<#assign contextPath=springMacroRequestContext.getContextPath() />
<#import "/public/frame/main.html" as frame />
<@frame.head "">
</@frame.head>
<html>
	<head>
		<meta charset="utf-8">
		<title>弹出框</title>
		<link rel="stylesheet" type="text/css" href="${contextPath}/resources/css/font/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="${contextPath}/resources/css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="${contextPath}/resources/css/tan.css"/>
		<script src="${contextPath}/resources/js/jquery-1.8.3.js" type="text/javascript"></script>
	</head>
	<body>	
		<!-- 显示修改之后的图片 -->
		<div class="view">
			<div class="wrap">
				<ul class="detail-top">
					<li>
						<img id="stupic" src="${painting.avatar}">
					</li>
					<li>
						<p id="stuName">${painting.nickName}</p>
						<span id="zTime">${(painting.releasetime?string("yyyy-MM-dd"))!}</span>
					</li>
				</ul>
				<!-- <div class="detail">
					<h2 class="dtitle">
						<span>分类：</span>
						<span id="cate1">色彩</span>
						<span id="cate2">场景</span> 
					</h2>
				</div> -->
				<div class="f-img">
				<#if painting.status==1>
				<img src="${webPath}/reviewPainting/${painting.notchangedURL}" >
				</#if> 
				<#if painting.status==2>
				<img src="${webPath}/reviewPainting/${painting.changepaintingURL}" >
				</#if>
					
					<#if painting.status==1>
					</#if>
					<#if painting.status==2>
					<p class="f-ji">${painting.sccore}</p>
					</#if>
					<#if painting.status==1>
					</#if>
					<#if painting.status==2>
					<p class="yuan">原图</p>
					</#if>
					
				</div>
				<div class="shu">${painting.introduce}</div>
			</div>
			<div class="null"></div>
			<!-- 批改老师 -->
			<div class="f-pi">
				<img src="${webPath}/picture/${painting.teacher.avatar}" >
				<span class="ter">${painting.teacher.nickname}</span>
			</div>
			
			<!-- 放大图片  （原图） -->
			<div class="isview">
				<div class="top">
					<i class="iconfont">&#xe627;</i>
				</div>
				<!-- <div class="gai  isscore">
					<b class="score">${painting.sccore}</b>
				</div> -->
				<div class="tagArea">
					<img class="tagImage" src="${webPath}/reviewPainting/${painting.notchangedURL}">
				</div>
			</div>
			
		</div>			
	</body>
<@frame.end "default">
</@frame.end>
	<script type="text/javascript">
		$(".yuan").on('click',function(){
			$(".isview").addClass('isviewShow');
		})
		$('.top').on('click',function(){
			$('.isview').removeClass('isviewShow');
		});
	</script>
</html>
